import React, { useState } from 'react'
import Test from './Test'
export default function App() {
  const [c, setC] = useState(1)
  return (
    <div>
      App
      <button
        onClick={() => {
          setC(2)
        }}
      >
        app按钮
      </button>
      <hr />
      <Test c={c}></Test>
    </div>
  )
}
